# coding = utf8
from numpy import *

#夹角余弦
vector1 = mat([3, 2])
vector2 = mat([4, 7])
cosV12 = dot(vector1, vector2)/(linalg.norm(vector1)*linalg.norm(vector2))
print (cosV12)



